import request from '@/plugins/request';

/* *** 注释信息 @author Zhou @date 2020/2/23 *** */
/* 工作台
/* ******************************************** */
// 待办事项
export function GetToDoList (data) {
    return request({
        url: '/v1/work/todo/index',
        method: 'get',
        params: data
    });
}
// 护士 已录入列表
export function GetEntryList (data) {
    return request({
        url: 'v1/work/todo/entry-list',
        method: 'get',
        params: data
    });
}
//已录入撤销
export function revocationTreatment (data) {
    return request({
        url: 'v1/work/todo/revocation-treatment',
        method: 'post',
        data
    });
}
// 待办-待完善列表
export function GetUnImproved (data) {
    return request({
        url: 'v1/work/todo/un-improved',
        method: 'get',
        params: data
    });
}
//
export function NewTreatment (data) {
    return request({
        url: '/v1/work/todo/new-treatment',
        method: 'get',
        params: data
    });
}
// 添加待治疗
export function AddclinicList (data) {
    return request({
        url: '/v1/work/todo/add-clinic-wait',
        method: 'post',
        data
    });
}
// 护士待办列表
export function WaitList (data) {
    return request({
        url: 'v1/work/todo/wait-list',
        method: 'get',
        params: data
    });
}
// 护士待办列表
export function clinicList (data) {
    return request({
        url: '/v1/work/todo/clinic-list',
        method: 'get',
        params: data
    });
}
// 待办-完善信息
export function GetImproved (data) {
    return request({
        url: 'v1/work/todo/improved',
        method: 'post',
        data
    });
}
// 数据总览
export function GetReportShow (data) {
    return request({
        url: '/v1/work/report/view-show',
        method: 'get',
        params: data
    });
}
// 护士报表
export function GetNurseReport (data) {
    return request({
        url: '/v1/work/nurse-report',
        method: 'get',
        params: data
    });
}
// 回访报表
export function GetReportCallback (data) {
    return request({
        url: '/v1/work/report/callback-report',
        method: 'get',
        params: data
    });
}
// 患者报表
export function GetReportPatient (data) {
    return request({
        url: '/v1/work/report/patient-report',
        method: 'get',
        params: data
    });
}
// 我的报表
export function GetMyReport (data) {
    return request({
        url: '/v1/work/report/my',
        method: 'get',
        params: data
    });
}
// 新增患者列表
export function GetAddMyReport (data) {
    return request({
        url: '/v1/patient/index/add-list',
        method: 'get',
        params: data
    });
}
// 已到患者列表
export function GetArriveMyReport (data) {
    return request({
        url: '/v1/patient/index/arrive-list',
        method: 'get',
        params: data
    });
}
// 预到患者列表
export function GetOrderMyReport (data) {
    return request({
        url: '/v1/patient/index/order-arrive-list',
        method: 'get',
        params: data
    });
}
// 过期未到患者列表
export function GetUnarriveMyReport (data) {
    return request({
        url: '/v1/patient/index/unarrive-list',
        method: 'get',
        params: data
    });
}
// 已回访患者列表
export function GetCallbackedMyReport (data) {
    return request({
        url: '/v1/patient/index/callbacked-list',
        method: 'get',
        params: data
    });
}
// 过期未回访患者列表
export function GetUncallbackMyReport (data) {
    return request({
        url: '/v1/patient/index/uncallback-list',
        method: 'get',
        params: data
    });
}
